<!DOCTYPE html>
<html lang="en" dir="ltr">

<head>
  <meta charset="UTF-8">
  <title>Item - States</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
  <link href="../../../../../css/ionic.bundle.css" rel="stylesheet">
  <link href="../../../../../scripts/testing/styles.css" rel="stylesheet">
  <script src="../../../../../scripts/testing/scripts.js"></script>
  <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
  <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script></head>

<body>
  <ion-app>

    <ion-header>
      <ion-toolbar>
        <ion-title>Item - States</ion-title>
      </ion-toolbar>
    </ion-header>

    <ion-content id="content">
      <ion-item href="#">
        <ion-label>ion-item[href]</ion-label>
      </ion-item>

      <ion-item href="#" class="ion-focused">
        <ion-label>ion-item[href] focused</ion-label>
      </ion-item>

      <ion-item href="#" class="ion-activated">
        <ion-label>ion-item[href] activated</ion-label>
      </ion-item>

      <ion-item button>
        <ion-label>ion-item[button]</ion-label>
      </ion-item>

      <ion-item button class="ion-focused">
        <ion-label>ion-item[button] focused</ion-label>
      </ion-item>

      <ion-item button class="ion-focused custom-radius">
        <ion-label>ion-item[button] border-radius focused</ion-label>
      </ion-item>

      <ion-item button class="ion-activated">
        <ion-label>ion-item[button] activated</ion-label>
      </ion-item>

      <ion-item color="tertiary" href="#">
        <ion-label>ion-item[href]</ion-label>
      </ion-item>

      <ion-item color="tertiary" href="#" class="ion-focused">
        <ion-label>ion-item[href] focused</ion-label>
      </ion-item>

      <ion-item color="tertiary" href="#" class="ion-activated">
        <ion-label>ion-item[href] activated</ion-label>
      </ion-item>

      <ion-item color="warning" button>
        <ion-label>ion-item[button]</ion-label>
      </ion-item>

      <ion-item color="warning" button class="ion-focused">
        <ion-label>ion-item[button] focused</ion-label>
      </ion-item>

      <ion-item color="warning" button class="ion-activated">
        <ion-label>ion-item[button] activated</ion-label>
      </ion-item>

      <ion-item href="#" class="custom">
        <ion-label>ion-item[href]</ion-label>
      </ion-item>

      <ion-item href="#" class="custom ion-focused">
        <ion-label>ion-item[href] focused</ion-label>
      </ion-item>

      <ion-item href="#" class="custom ion-activated">
        <ion-label>ion-item[href] activated</ion-label>
      </ion-item>

    </ion-content>

  </ion-app>

  <style>
    .custom {
      --color: rebeccapurple;
    }

    .custom-radius {
      --border-radius: 0 50px 50px 0;
    }
  </style>
</body>

</html>
